package com.iflyun.LogsCustmerToHDFS.entity;

import java.io.Serializable;
import java.sql.Timestamp;


/**
 * 
 * @ClassName:  WebLog   
 * @Description:网页日志实体类  
 * @author: wenquxing  
 * @date:   2017年8月25日 上午11:17:38   
 *
 */
public class WebLog implements Serializable{
	

	private static final long serialVersionUID = 7553009527074299495L;

	/**
	 * id
	 */
	private String id;

	/**
	 * 用户id
	 */
	private String userId;

	/**
	 * IP地址
	 */
	private String ip;

	/**
	 * 代理ip地址
	 */
	private String proxyIp;

	/**
	 * cookie
	 */
	private String cookieId;

	/**
	 * 绝对地址
	 */
	private String urlAbsoluteUri;

	/**
	 * 跳转地址
	 */
	private String jumpUrl;

	/**
	 * 标题
	 */
	private String title;

	/**
	 * 物理路径
	 */
	private String physicalPath;

	/**
	 * 请求方式
	 */
	private String requestMode;

	/**
	 * 请求参数
	 */
	private String requestParameter;

	/**
	 * 操作类型
	 */
	private String operationType;

	/**
	 * 主机名
	 */
	private String urlHost;

	/**
	 * 端口号
	 */
	private String urlPort;

	/**
	 * 浏览时间
	 */
	private String browseTime;

	/**
	 * 是否是移动端
	 */
	private String isMobileDevice;

	/**
	 * 浏览器
	 */
	private String browser;

	/**
	 * 浏览器版本号
	 */
	private String browserVersion;

	/**
	 * 时间戳
	 */
	private Timestamp accessTime;

	/**
	 * 产品版本
	 */
	private String productVersion;

	/**
	 * 产品代码
	 */
	private String productCode;
	
	public WebLog(){}
	
	public WebLog(String id, String userId, String ip, String proxyIp, String cookieId, String urlAbsoluteUri,
			String jumpUrl, String title, String physicalPath, String requestMode, String requestParameter,
			String operationType, String urlHost, String urlPort, String browseTime, String isMobileDevice,
			String browser, String browserVersion, Timestamp accessTime, String productVersion, String productCode) {
		super();
		this.id = id;
		this.userId = userId;
		this.ip = ip;
		this.proxyIp = proxyIp;
		this.cookieId = cookieId;
		this.urlAbsoluteUri = urlAbsoluteUri;
		this.jumpUrl = jumpUrl;
		this.title = title;
		this.physicalPath = physicalPath;
		this.requestMode = requestMode;
		this.requestParameter = requestParameter;
		this.operationType = operationType;
		this.urlHost = urlHost;
		this.urlPort = urlPort;
		this.browseTime = browseTime;
		this.isMobileDevice = isMobileDevice;
		this.browser = browser;
		this.browserVersion = browserVersion;
		this.accessTime = accessTime;
		this.productVersion = productVersion;
		this.productCode = productCode;
	}



	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getIp() {
		return ip;
	}
	public void setIp(String ip) {
		this.ip = ip;
	}
	public String getProxyIp() {
		return proxyIp;
	}
	public void setProxyIp(String proxyIp) {
		this.proxyIp = proxyIp;
	}
	public String getCookieId() {
		return cookieId;
	}
	public void setCookieId(String cookieId) {
		this.cookieId = cookieId;
	}
	public String getUrlAbsoluteUri() {
		return urlAbsoluteUri;
	}
	public void setUrlAbsoluteUri(String urlAbsoluteUri) {
		this.urlAbsoluteUri = urlAbsoluteUri;
	}
	public String getJumpUrl() {
		return jumpUrl;
	}
	public void setJumpUrl(String jumpUrl) {
		this.jumpUrl = jumpUrl;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getPhysicalPath() {
		return physicalPath;
	}
	public void setPhysicalPath(String physicalPath) {
		this.physicalPath = physicalPath;
	}
	public String getRequestMode() {
		return requestMode;
	}
	public void setRequestMode(String requestMode) {
		this.requestMode = requestMode;
	}
	public String getRequestParameter() {
		return requestParameter;
	}
	public void setRequestParameter(String requestParameter) {
		this.requestParameter = requestParameter;
	}
	public String getOperationType() {
		return operationType;
	}
	public void setOperationType(String operationType) {
		this.operationType = operationType;
	}
	public String getUrlHost() {
		return urlHost;
	}
	public void setUrlHost(String urlHost) {
		this.urlHost = urlHost;
	}
	public String getUrlPort() {
		return urlPort;
	}
	public void setUrlPort(String urlPort) {
		this.urlPort = urlPort;
	}
	public String getBrowseTime() {
		return browseTime;
	}
	public void setBrowseTime(String browseTime) {
		this.browseTime = browseTime;
	}
	public String getIsMobileDevice() {
		return isMobileDevice;
	}
	public void setIsMobileDevice(String isMobileDevice) {
		this.isMobileDevice = isMobileDevice;
	}
	public String getBrowser() {
		return browser;
	}
	public void setBrowser(String browser) {
		this.browser = browser;
	}
	public String getBrowserVersion() {
		return browserVersion;
	}
	public void setBrowserVersion(String browserVersion) {
		this.browserVersion = browserVersion;
	}
	public Timestamp getAccessTime() {
		return accessTime;
	}

	public void setAccessTime(Timestamp accessTime) {
		this.accessTime = accessTime;
	}

	public String getProductVersion() {
		return productVersion;
	}
	public void setProductVersion(String productVersion) {
		this.productVersion = productVersion;
	}
	public String getProductCode() {
		return productCode;
	}
	public void setProductCode(String productCode) {
		this.productCode = productCode;
	}

	@Override
	public String toString() {
		return "WebLog [id=" + id + ", userId=" + userId + ", ip=" + ip + ", proxyIp=" + proxyIp + ", cookieId="
				+ cookieId + ", urlAbsoluteUri=" + urlAbsoluteUri + ", jumpUrl=" + jumpUrl + ", title=" + title
				+ ", physicalPath=" + physicalPath + ", requestMode=" + requestMode + ", requestParameter="
				+ requestParameter + ", operationType=" + operationType + ", urlHost=" + urlHost + ", urlPort="
				+ urlPort + ", browseTime=" + browseTime + ", isMobileDevice=" + isMobileDevice + ", browser=" + browser
				+ ", browserVersion=" + browserVersion + ", accessTime=" + accessTime + ", productVersion="
				+ productVersion + ", productCode=" + productCode + "]";
	}
	
	
	
}
